package day07;

import sun.java2d.cmm.CMSManager;

public class OverloadDemo {
    public static void main(String[] args) {
        show();
        show("zhangsan");
        show(25);
        show("zhangsan",25);
        show(25,"zhangsan");
        //show(3.15); //编译错误,没有double参的show

    }
    public static void show(){}
    public static void show(String name){ }
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}





}
